From: popcornmix Date: Tue, 5 Apr 2016 18:40:12 +0000 (+0100) Subject: reboot: Use power off rather than busy spinning when halt is requested X-Git-Tag: archive/raspbian/4.9.82-1+deb9u3+rpi1_jessie~5^2~462 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ecaf5a318cc9f24b3d6c3ea1791fb6cf9448afe8;p=linux-4.9.git reboot: Use power off rather than busy spinning when halt is requested --- diff --git a/arch/arm/kernel/reboot.c b/arch/arm/kernel/reboot.c index 3fa867a2aae6..80dca8dcd670 100644 --- a/arch/arm/kernel/reboot.c +++ b/arch/arm/kernel/reboot.c @@ -102,9 +102,7 @@ void machine_shutdown(void) */ void machine_halt(void) { - local_irq_disable(); - smp_send_stop(); - while (1); + machine_power_off(); } /*